﻿using Google.Protobuf.WellKnownTypes;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DryWCS.Model.WMS
{
    [SugarTable("SYS_POSITION")]
    public class WareHouseCellInfoModel
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public decimal ID { get; set; }

        /// <summary>
        /// 组织ID
        /// </summary>
        public int ORG_ID { get; set; }

        /// <summary>
        /// 组织编码
        /// </summary>
        public string ORG_CODE { get; set; }

        /// <summary>
        /// 仓库ID
        /// </summary>
        public int ZONE_ID { get; set; }

        /// <summary>
        /// 仓库编码
        /// </summary>
        public string ZONE_CODE { get; set; }

        /// <summary>
        /// 货位类型
        /// </summary>
        public int POS_TYPE_ID { get; set; }

        /// <summary>
        /// 货位类型编码
        /// </summary>
        public string POS_TYPE_CODE { get; set; }

        /// <summary>
        /// 货位码
        /// </summary>
        public string POS_CODE { get; set; }

        /// <summary>
        /// 货位描述
        /// </summary>
        public string POS_DESC { get; set; }

        /// <summary>
        /// 巷道
        /// </summary>
        public int LANE_NO { get; set; }

        /// <summary>
        /// 排
        /// </summary>
        public int LINE_NO { get; set; }

        /// <summary>
        /// 列
        /// </summary>
        public int COL_NO { get; set; }

        /// <summary>
        /// 层
        /// </summary>
        public int LAYER_NO { get; set; }

        /// <summary>
        /// 货位状态(0：无货，1：有货，2：入库，3：整出，4：盘拣，6：移动，8：禁止，10：预留，11：重入，12：重出，13：故障)
        /// </summary>
        public int POS_STATUS { get; set; }

        /// <summary>
        /// 货位尺寸
        /// </summary>
        public int POS_SIZE { get; set; }

        /// <summary>
        /// 货位承受重量
        /// </summary>
        public decimal POS_WEIGHT { get; set; }

        /// <summary>
        /// 货位长
        /// </summary>
        public decimal POS_L { get; set; }

        /// <summary>
        /// 货位宽
        /// </summary>
        public decimal POS_W { get; set; }

        /// <summary>
        /// 货位高
        /// </summary>
        public decimal POS_H { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public string ENABLE { get; set; }

        /// <summary>
        /// 设备号
        /// </summary>
        public int EID { get; set; }

        /// <summary>
        /// 设备号
        /// </summary>
        public int EQ_NO { get; set; }

        /// <summary>
        /// WCS
        /// </summary>
        public Timestamp UPDATE_TIME_WCS { get; set; }

        /// <summary>
        /// 是否已同步至外围系统
        /// </summary>
        public string IS_SYNC { get; set; }

        /// <summary>
        /// 同步标识（SYNC)
        /// </summary>
        public string REMARK { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string ATTRIBUTE1 { get; set; }
        public string ATTRIBUTE2 { get; set; }
        public string ATTRIBUTE3 { get; set; }
        public string ATTRIBUTE4 { get; set; }
        public string ATTRIBUTE5 { get; set; }
        /// <summary>
        /// 版本
        /// </summary>
        public int VERSION { get; set; }

        public bool ACTIVE_FLAG { get; set; }

        public int INSERT_ID { get; set; }

        public string INSERT_NAME { get; set; }

        public DateTime INSERT_TIME { get; set; }

        public int UPDATE_ID { get; set; }

        public string UPDATE_NAME { get; set; }

        public DateTime UPDATE_TIME { get; set; }
    }
}
